<template>
  <div id="app">
    HelloWorld
    <button @click="post">请求</button>
  </div>
</template>

<script>

export default {
  name: 'App',
  components: {

  },
  methods: {
    post () {
      this.axios.post('http://localhost:8082/query/book', { id: 19 }).then(res => {
        console.log(res);
      })
    }
  }
}
</script>

<style lang="less">
</style>
